package com.study.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author ：ihao ∶）
 * @date ：Created in 2021-01-14 16:58
 */
@Document(collection = "sequence")
@Data
public class SeqInfo {
    @Id
    private String id;//主鍵
    private Long seqId;//序列值
    private String collName;//集合名稱
}
